package com.huidao.dao.buyer;

import java.util.List;

import com.huidao.entity.Shoppingcart;
import com.huidao.entity.User;

public interface ShoppingCartDao {
	public boolean addShoppingcart(Shoppingcart shoppingcart);
	public boolean updateGoods_num(long shoppingcart_id,int goods_num);
	public boolean delShoppingcart(long Shoppingcart_id);
	public List<Shoppingcart> getShoppingcartList(int currenpage,int pagesize, String keyName,long id);
	public int getTotalPage(String keyName, long id);
	public boolean clearShoppingcart(User user);
}
